<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
        exit(0);
    }

    // 获取服务器时间戳
    public function server_time(){
        $time = time();
        $json = array('ret' => 0, 'msg' => "服务器时间",'data'=>$time);
        $this->ajaxReturn($json);
    }
}